#ifndef SIPBOX_H
#define SIPBOX_H

#define PJMEDIA_HAS_VIDEO 1

#include <QtGui/QMainWindow>
#include <pjsua-lib/pjsua.h>
#include "ui_sipbox.h"

class AccountManagerDialog;
class SIPBox : public QMainWindow
{
	Q_OBJECT

public:
	SIPBox(QWidget *parent = 0, Qt::WFlags flags = 0);
	~SIPBox();

private slots :
	void call();
	void hangup();
	void showAccountManager();

private:
	pj_status_t initail_SIP(void);

private:
	Ui::SIPBoxClass ui;
	pjsua_acc_id acc_id;
	AccountManagerDialog *m_pAMDialog;
};

#endif // SIPBOX_H
